package cn.xk.org.domain;

import cn.xk.basic.query.domain.BaseDomain;
import lombok.Data;

@Data
/**
 * 员工类
 */
public class Employee extends BaseDomain {

    private String username;
    private String phone;
    private String email;
    private String salt;
    private String password;
    private String comfirmPassword;
    private Integer age;
    private Integer state;
    //所属部门id
    private Long department_id;
    //所属部门
    private Department department;
    //登录信息id
    private Long logininfo_id;
    //店铺id：为null就是平台管理员，不为null就是店铺管理员
    private Long shop_id;
    //接收前端传递的role_id:如果要在前端列
    private Long role_id;
    //保存角色的名称
    private String role_name;


}
